package com.ruanda.feign.sentinel;

import com.ruanda.domain.Sku;
import com.ruanda.feign.OrderProdFeign;
import com.ruanda.model.ChangeStock;
import com.ruanda.model.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class OrderProdSentinel implements OrderProdFeign {

    @Override
    public Result<List<Sku>> getSkuListBySkuIds(List<Long> skuIds) {
        log.info("订单服务调用商品服务失败");
        return null;
    }

    @Override
    public Result<Boolean> changeProdAndSkuStock(ChangeStock changeStock) {
        log.info("订单服务调用商品服务失败");
        return null;
    }
}
